package entity

import (
	"app-webapi/comm"
	"gorm.io/gorm"
)

type TestEntity struct {
	gorm.Model
	TestName string `json:"testName" gorm:"comment:'名字"`
	TestAge  int    `json:"testAge" gorm:"comment:'年龄"`
}

type TestEntityList struct {
	comm.Page
	TestName string `json:"testName"  form:"testName"`
	TestAge  int    `json:"testAge" form:"testAge"`
}
